<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <form class="form-horizontal" th:object="${footDj}" method="post" th:action="@{/foot/footDj/edit}"
                  name="form" th:if="${session.footUser.qx.text == '管理员'}">
                <input type="hidden" name="id" th:field="*{id}"/>
                <h3 class="header smaller lighter blue"><em class="icon-edit"></em>修改等级</h3>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="djbm">球员等级编码:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{djbm}" name="djbm" id="djbm" class="input_fix"
                                       placeholder="球员等级编码"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('djbm')}"
                              th:errors="*{djbm}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="qydj">球员等级:<span style="color:red">*</span></label>
                            <div class="controls">
                                <input type="text" th:field="*{qydj}" name="qydj" id="qydj" class="input_fix"
                                       placeholder="球员等级"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('qydj')}"
                              th:errors="*{qydj}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="qysj">球员身价:</label>
                            <div class="controls">
                                <input type="text" th:field="*{qysj}" name="qysj" id="qysj" class="input_fix"
                                       placeholder="球员身价"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('qysj')}"
                              th:errors="*{qysj}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="pf">球员评分所在等级:</label>
                            <div class="controls">
                                <input type="text" th:field="*{pf}" name="pf" id="pf" class="input_fix"
                                       placeholder="球员评分所在等级"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('pf')}" th:errors="*{pf}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="initRatio">初始获取倍率:</label>
                            <div class="controls">
                                <input type="text" th:field="*{initRatio}" name="initRatio" id="initRatio" class="input_fix"
                                       placeholder="初始获取倍率"/>%
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('initRatio')}" th:errors="*{initRatio}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="maxRatio">最高获取倍率:</label>
                            <div class="controls">
                                <input type="text" th:field="*{maxRatio}" name="maxRatio" id="maxRatio" class="input_fix"
                                       placeholder="最高获取倍率"/>%
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('maxRatio')}" th:errors="*{maxRatio}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="control-group">
                            <label class="control-label" for="sort">排序:</label>
                            <div class="controls">
                                <input type="text" th:field="*{sort}" name="sort" id="sort" class="input_fix"
                                       placeholder="平"/>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <span style="color:red" th:if="${#fields.hasErrors('sort')}"
                              th:errors="*{sort}">Name Error</span>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="text-center span12">
                        <button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                        <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                        <a class="btn" type="button" th:href="@{/foot/footDj/search}"><em class="icon-arrow-left"></em>返回</a>
                    </div>
                </div>
            </form>
            <!--/#page-content-->
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div>
    <!--/#main-content-->
</div>
<!--/.fluid-container#main-container-->
<div th:replace="common/js"></div>
</body>
</html>